@import url(./mixin/clearfix.less);


#wrap{
    #header{
        .header-top{
            background: #eaeaea;
            height: 30px;
            line-height: 30px;
            .header-top-content{
                width: 1200px;
                margin: 0 auto;
                .header-top-l{
                    float: left;
                    span{
                        font-weight: bold;
                    }
                    a{
                       &:first-of-type{
                        border-right: 1px solid #b3aeae;
                        padding-right: 5px;
                        margin-left: 5px;
                       }
                    }
                    
                }
                .header-top-r{
                    float: right;
                    a{
                        float: left;
                        border-left: 1px solid #b3aeae;
                        height: 12px;
                        margin-top: 9px;
                        line-height: 12px;
                        padding: 0 10px;
                        &:first-child{
                            border-left: none;
                        }
                    }
                }
            }
           
        }
        .header-bottom{
            .clearFix;
            width: 1200px;
            margin: 0 auto;
            #logo{
                width: 175px;
                height: 56px;
                margin: 25px 45px;
                float: left;
            }
            .search{
                float: right;
                margin-top: 35px;
                input{
                   box-sizing: border-box;
                   &::-webkit-input-placeholder{
                       color: green;
                   }
                   &:first-child{
                       width: 490px;
                       height: 32px;
                       padding: 0 4px;
                       border: 3px solid #ea4a36;
                       float: left;
                       color: blue;
                   }
                   &:last-child{
                       width: 68px;
                       height: 32px;
                       background: #ea4a36;
                       color: #FFF;
                       border: none;
                       float: left;
                   }
                }
            }
        }
    }
    #nav{
        border-bottom: 2px solid #e1251b;
        .nav-content{
            width: 1200px;
            margin: 0 auto;
            .clearFix;
            line-height: 50px;
            h3{
                width: 210px;
                height: 50px;
                float: left;
                text-align:center;
                background: #e1251b;
                font-size: 14px;
                font-weight: bold;
                margin: 0 22px;
                a{
                    color: #FFF;
                }
            }
            ul{
                float: left;
                li{
                    float: left;
                    margin: 0 22px;
                    height: 50px;
                    a{
                        font-size: 16px;
                        color: #333;
                    }
                }
            }
        }
    }
    #content{
        width: 1200px;
        margin: 15px auto 0;
        .nav-path{
            padding: 9px 15px 9px 0;
            span{
                padding: 0 5px;
            }
        }
        .good-picAdetail{
            .clearFix;
            .good-picAdetail-l{
                width: 400px;
                float: left;
                position: relative;
                .s-pic-box{
                    width: 400px;
                    height: 400px;
                    border: 1px solid #DFDFDF;
                    .mark{
                        width: 200px;
                        height: 200px;
                        background: rgba(255,255,255,.5);
                        border: 1px solid #DDD;
                        position: absolute;
                        top: 0;
                        left: 0;
                    }
                }
                .pic-list{
                    width: 400px;
                    margin-top: 5px;
                    a{
                        width: 10px;
                        height: 54px;
                        border: 1px solid #ccc;
                        background: #EBEBEB;
                        float: left;
                        line-height: 54px;
                        cursor: pointer;
                        &:first-child{
                            margin-right: 4px;
                        }
                    }
                    .ul-client{
                        float: left;
                        width: 372px;
                        height: 56px;
                        overflow: hidden;
                        ul{
                            transition: 1s all ease;
                            width: 760px;
                            li{
                                float: left;
                                img{
                                    width: 50px;
                                    height: 50px;
                                    border: 1px solid #CCC;
                                    padding: 2px;
                                    margin-right: 20px;
                                }
                            }
                        }
                    }
                }
                .b-pic-box{
                    width: 400px;
                    height: 400px;
                    border: 1px solid #ddd;
                    position: absolute;
                    top: 0;
                    left: 420px;
                    overflow: hidden;
                    .big-pic{
                        position: absolute;
                        top: 0;
                        left: 0;
                    }
                }
            }
            .good-picAdetail-r{
                width: 700px;
                float: right;
                .good-detail-title{
                    font-size: 14px;
                    line-height: 21px;
                    margin-top:15px ;
                }
                .recommend{
                    color:#e12228;
                    margin-top: 15px;
                }
                .price-box{
                    margin-top: 10px;
                    line-height: 28px;
                    background: #fee9ec;
                    padding: 7px;
                    .price-box-row{
                        .clearFix;
                        h5{
                            font-weight: normal;
                            float: left;
                            margin-right: 15px;
                        }
                        .promoteBox{
                            width: 520px;
                        }
                        p{
                            float: left;
                            width: 630px;
                            i{
                                color: #cc1122;
                                font-size: 16px;
                            }
                            .price{
                                font-size: 24px;
                                color: #cc1122;
                                font-weight: bold;
                            }
                            a{
                                color:#cc1122 ;
                            }
                            strong{
                                float: right;
                            }
                            .addPrice{
                                background: #c81623;
                                color: #FFF;
                                padding: 3px;
                                font-size: 12px;
                            }
                            span{
                                color: #999;
                                
                            }
                            
                        }
                    }
                }
                .support-box{
                    border-bottom: 1px solid #ededed;
                    padding-bottom: 5px;
                    p{
                        margin-top: 10px;
                        line-height: 28px;
                        i{
                            margin-right: 15px;
                        }
                        span{
                            width: 520px;
                            color: #999;
                        }
                    }
                }
                .crumb-box{
                    margin-top:10px ;
                    line-height: 28px;
                    .choose{
                        .clearFix;
                        .mark{
                            height: 30px;
                            background: snow;
                            border: 1px solid #DDD;
                            padding: 0 20px;
                            margin-right: 20px;
                            display: block;
                            float: left;
                            i{
                                color: red;
                                margin-left: 20px;
                            }
                        }
                    }
                    dl{
                        margin: 13px 0;
                        .clearFix;
                        dt{
                            margin-right: 15px;
                            float: left;
                        }
                        dd{
                            float: left;
                            margin-right: 5px;
                            line-height: 24px;
                            color: #666;
                            padding: 2px 14px;
                            border-top: 1px solid #eee;
                            border-left: 1px solid #eee;
                            border-right: 1px solid #bbb;
                            border-bottom: 1px solid #bbb;
                            &:first-of-type{
                                color: red;
                            }
                        }
                    }
                }
                .cart-btnbox{
                    .cart-btnbox-l{
                        position: relative;
                        float: left;
                        width: 55px;
                        margin-right: 15px;
                        input{
                            width: 38px;
                            height: 37px;
                            border: 1px solid #ddd;
                            color: #555;
                        }
                        a{
                            position: absolute;
                            width: 15px;
                            height: 18px;
                            color: #666;
                            background: #f1f1f1;
                            border: 1px solid #ddd;
                            text-align: center;
                            line-height: 18px;
                            &:first-of-type{
                                right: 1px;
    
                            }
                            &:last-of-type{
                                right: 1px;
                                top: 19px;
                            }
                        }
                    }
                    .cart-btn{
                        float: left;
                        padding: 0 25px;
                        height: 36px;
                        font-size: 16px;
                        background: #e1251b;
                        color: #FFF;
                        border: none;
                    }
                }
            }
        }
        .good-detail-bottom{
            width: 1200px;
            margin: 30px auto 0;
            .good-detail-bottom-l{
                width: 210px;
                float: left;
                border: 1px solid #ccc;
                .tab-btn-box{
                    .clearFix;
                    height: 40px;
                    .tab-btn{
                        float: left;
                        border-bottom: 1px solid #CCC;
                        height: 37px;
                        line-height: 37px;
                        width: 105px;
                        text-align: center;
                    }
                    .active{
                        border-top: 3px solid #e1251b;
                        border-bottom: 1px solid #FFF;
                        height: 34px;
                    }
                }
                .tab-con-box{
                    padding: 10px;
                    .tab{
                        display: none;
                    }
                    .good-list1{
                        .clearFix;
                       li{
                            width: 50%;
                            float: left;
                            border-bottom: 1px dashed #ededed;
                            line-height: 28px;
                       }
                    }
                    .good-list2{
                        li{
                            margin: 5px 0 15px;
                            border-bottom: 1px solid #ededed;

                            img{
                                width: 152px;

                            }
                            h4{
                                font-weight: normal;
                            }
                            p{
                                font-size: 16px;
                                color: #c81623;
                            }
                            a{
                                border: 1px solid #8c8c8c;
                                margin: 5px auto;
                                display: block;
                                color: #8c8c8c;
                                width: 60px;
                                padding: 2px 14px;
                                line-height: 18px;
                            }
                        }
                        

                    }
                }
            }
            .good-detail-bottom-r{
                width: 980px;
                float: right;
                .good-detail-bottom-choose-box{
                    border: 1px solid #DDD;
                    margin-bottom: 15px;
                    h5{
                        border-bottom: 1px solid #ddd;
                        background: #f1f1f1;
                        color: #333;
                        padding: 5px 0 5px 15px;
                    }
                    .good-detail-bottom-choose-box-bot{
                        height: 170px;
                        padding-top: 10px;
                        ul{
                            float: left;
                            width: 795px;
                            li{
                                &:first-child{
                                    position: relative;
                                    width: 127px;
                                    height: 165px;
                                    text-align: center;
                                    margin: 0;
                                    img{
                                        width: 87px;
                                        margin: 0 auto;
                                    }
                                    p{
                                        color: #c81623;
                                        text-align: center;
                                        font-size: 16px;
                                        
                                    }
                                    em{
                                        position: absolute;
                                        right: -25px;
                                        top: 48px;
                                        font-size: 16px;
                                    }
                                }
                                float: left;
                                width: 127px;
                                margin: 0 20px;
                                text-align: center;
                                img{
                                    width: 120px;
                                    height: 130px;
                                }
                            }
                        }
                        .change-box-r{
                            float: left;
                            border-left: 1px solid #ddd;
                            width: 153px;
                            height: 165px;
                            padding-left: 20px;
                            p{
                                margin: 10px 0;

                            }
                            b{
                                display: block;
                                margin-bottom: 10px;
                                font-weight: bold;
                            }
                            i{
                                display: block;
                                font-size: 16px;
                                color: #B1191A;
                                margin-bottom: 10px;
                            }
                            a{
                                padding: 10px 25px;
                                background:#e1251b ;
                                color: #FFF;
                                font-size: 16px;
                                display:inline-block;
                            }
                        }
                    }
                }
                .good-detail-bottom-r-content{
                    .tab-btn-box{
                        background: #ededed;
                        .clearFix;
                        .tab-btn{
                            border: 1px solid #DDD;
                            background: #FFF;
                            height: 40px;
                            padding: 0 11px;
                            float: left;
                            line-height: 40px;
                            margin-right: -1px;
                            &:hover{
                                color: green;
                                text-decoration-line: underline;
                                cursor: pointer;
                            }
                        }
                        .active{
                            background: red;
                            color: #FFF;
                        }
                    }
                }
            }
        }
    }
}